package com.songlanyun.modules.platformgivepoint.entity;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.math.BigDecimal;
import java.io.Serializable;
import java.util.Date;

import com.songlanyun.common.drive.RootEntity;
import com.songlanyun.modules.pointtobalace.entity.PointToBalanceRecordEntity;
import lombok.Data;

/**
 * 平台赠与用户积分
 *
 * @author lubo
 * @email sunlightcs@gmail.com
 * @date 2022-12-27 13:48:32
 */
@Data
@TableName("yxt_platform_give_point_record")
public class PlatformGivePointRecordEntity extends RootEntity<Long, PlatformGivePointRecordEntity> implements Serializable  {
	private static final long serialVersionUID = 1L;

	/**
	 *
	 */
	@TableId
	private Long id;
	/**
	 * 用户人id
	 */
	private Long userId;
	/**
	 * 真实姓名
	 */
	private String realName;
	/**
	 * 手机号
	 */
	private String mobile;
	/**
	 * 原的积分
	 */
	private BigDecimal givePoint;
	/**
	 *
	 */
	@TableField(fill = FieldFill.INSERT)
	private Date createTime;

	@Override
	public Long getIdentity() {
		return getId();
	}
}
